{% extends "base.html" %}
{% load i18n %}
{% block page_class %}home-page{% endblock %}

{% block current_page %}Home page{% endblock %}
{% block content %}
<div id="content">
    <h1>WeSchool Login</h1>
    {% if form.errors %}
    <p class="error">Sorry, that's not a valid username or password</p>
    {% endif %}

    <form action='.' method='post'>
        <label for="username">User name:</label>
        <input type="text" name="username" value="" id="username">
        <label for="password">Password:</label>
        <input type="password" name="password" value="" id="password">

        <input type="submit" value="login"/>
        <input type="hidden" name="next" value="{{ next }}"/>
    </form>
</div>
<div class="break"></div>
{% endblock %}